package com.mariusz.service;

import java.io.IOException;

import com.mariusz.service.client.PresentServiceService;

public class Client {
	public static void main(String[] args) throws IOException {
		PresentServiceService service = new PresentServiceService();
		com.mariusz.service.client.PresentService helloWeb = service
				.getPresentServicePort();
		while(true)
		{
			String token = "AAAB7tXg88jEBAGLxK1kJASdTdbVFGxdEhSrFPZCkOhrnIzv3NSmZCzqV5RpVVqw4s0IyWA8e8CDCr2X7IyCQhC2ZCLe7eYXH8ZALRZBpsJwZDZD";
			String friendId = "100000669817825";
			String response = helloWeb.findPresent(token, friendId);
			System.out.println("Web service response: " + response);
			System.in.read();
		}
	}
}
